package com.grantheath.erebus.model.interfaces 
{
	import flash.events.IEventDispatcher;
	
	import com.grantheath.erebus.view.interfaces.IErebusPage;
	import com.grantheath.erebus.model.interfaces.IErebusPageNode;
	import com.grantheath.erebus.model.interfaces.IErebusLoader;

	/**
	 * @author grantheath
	 */
	public interface IErebusPageLoader extends IEventDispatcher, IErebusLoader
	{
		function loadPage(pageNode : IErebusPageNode) : void;
		function unloadPage() : void;
		function get pageNode() : IErebusPageNode;
		function set pageNode(pageNode : IErebusPageNode) : void;
		function get loadedPage() : IErebusPage;
	}
}
